﻿using UnityEngine;using System.Collections;public class SendMsgBtn : MonoBehaviour {	//public UILabel _label;	private FPSPropertySync _sync = null;	// Use this for initialization	void Start () 	{		GameObject o = GameObject.FindGameObjectWithTag("Player");		//if(!o) Debug.LogError("err");		if(o)		{			_sync = o.GetComponent<FPSPropertySync>();		}	}		// Update is called once per frame	void Update () {		}	void OnClick()	{		if(!_sync)		{			return;		}		//_sync.SendMsgToGod(_label.text);		//Debug.Log("_sync.SendMsgToGod() txt"+_label.text);	}}